package com.net.core.models.bean;

import com.net.core.core.sql.TableField;
import com.net.core.core.sql.TableId;
import com.net.core.core.sql.TableName;
import lombok.Data;

@Data
@TableName("user_sys")
public class User {

    @TableId(autoincrement = true)
    private Long id;
    private String name;
    private String pinyin;
    private String account;
    private String password;
    private int state;//状态 1可用 0 冻结
    private String deptName;
    private String roleName;
    @TableField(exist = false)
    private String token;
    @TableField(exist = false)
    private Boolean edit;


}
